<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.0">
	<header>
		<div class="logorow">
			<div class="menu-center">
				<ul class="sf-menu">
					<li><a href="index.jsp">Home</a></li>
					<li><a href="Games">Game</a></li>
					<li><a href="#">News</a></li>
					<li><a href="#">Contact</a></li>
				</ul>
			</div>
		</div>
		<div class="navirow">
			<ul class="sf-menu">
				<c:choose>
					<c:when test="${not empty sessionScope.username}">
						<c:if test="${sessionScope.access_level eq 2}">
							<li><a href="Profile">welcome, ${sessionScope.username}</a></li>
							<li><span>|</span></li>
							<li><a href="Profile">Profile</a></li>
							<li><span>|</span></li>
							<li><a href="Logout">Logout</a></li>
						</c:if>
						<c:if test="${sessionScope.access_level eq 3}">
							<li><a href="Profile">welcome, ${sessionScope.username}</a></li>
							<li><span>|</span></li>
							<li><a href="Profile">Profile</a></li>
							<li><span>|</span></li>
							<li><a href="views/controlCentre.jsp">Control Centre</a></li>
							<li><span>|</span></li>
							<li><a href="Logout">Logout</a></li>
						</c:if>
					</c:when>
					<c:otherwise>
						<li><a href="Login">Login</a></li>
						<li><span>|</span></li>
						<li><a href="Register">Register</a></li>
					</c:otherwise>
				</c:choose>
			</ul>
		</div>
	</header>
</jsp:root>